<xsf:errorCondition match="/po:purchaseOrder" expressionContext="po:dateOrdered" expression=". != "" and ../po:dateRequired != "" and msxsl:string-compare(., ../po:dateRequired) > 0">
<xsf:errorMessage type="modeless" shortMessage="De datum van bestellen moet op of voor de datum vallen waarop de bestelling nodig is."></xsf:errorMessage>
</xsf:errorCondition>
<xsf:errorCondition match="/po:purchaseOrder" expressionContext="po:dateRequired" expression=". != "" and ../po:dateOrdered != "" and msxsl:string-compare(., ../po:dateOrdered) < 0">
<xsf:errorMessage type="modeless" shortMessage="De datum waarop de bestelling nodig is, moet op of na de datum van bestelling vallen."></xsf:errorMessage>